home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Users Group Library 1996 July / C-C++ Users Group Library July 1996.iso / listings / v_08_11 / 8n11036c < prev    next >
Text File  |  1990-08-01  |  903b  |  29 lines

  1.  
  2.  
  3.                 struct _DOSFSRSEM
  4.                 {
  5.                     USHORT          cb;
  6.                     PID             pid;
  7.                     TID             tid;
  8.                     USHORT          cUsage;
  9.                     USHORT          client;
  10.                     ULONG           sem;
  11.                 };
  12.                 typedef struct _DOSFSRSEM       DOSFSRSEM;
  13.  
  14.          cb         Specifies the length of the structure.  Currently
  15.                     this must be initialized to 14.
  16.  
  17.          pid        Specifies the process ID of the owning process.
  18.  
  19.          tid        Specifies the owning thread ID.
  20.  
  21.          cUsage     Count of the number of times the owner has
  22.                     requested the semaphore without clearing it.
  23.  
  24.          client     A word reserved for use by the semaphore owner.
  25.  
  26.          sem        The actual RAM semaphore.
  27.  
  28.  
  29.